body{
  margin:0;
  overflow-y: scroll; /* This is optional, but you need it for a full width gallery */
}

img {
  width: auto\9;
  height: auto;
}
/* *************************************** FONTS AND COLORS *************************************** */

/* --- SELECTION --> */
::-moz-selection{
  background: #fb1953;
  color: #ffffff;
}
::selection {
  background: #fb1953;
  color: #ffffff;
}

/* --- APPLY FONT FAMILY --> */
.box, .category-navbar, .grid-loadMore, .autoGrid-lightbox{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 1.428571429;
}

/* --- SOME STYLE OF THE BOX  --> */
.box{
  -webkit-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
     -moz-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
       -o-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
      -ms-box-shadow: 0 1px 3px rgba(34,25,25,0.4);
          box-shadow: 0 1px 3px rgba(34,25,25,0.4);
}

/* --- SOME STYLE OF THE BOX CAPTION  --> */
.box-caption{
  background: white;
  color: #888;
  font-size: 12px;
}

.hover-text{
  margin-bottom: 15px;
  font-size: 17px;
}

.box-caption .box-title{
  font-size: 16px;
  color: #373737;
}

/* --- THE THUMBNAIL CAPTION  --> */
.thumbnail-caption{
  background: #fb1953; /* fallback for IE8 */
  background-color: rgba(251,25,83, .9);
  
  color: #fff;
  text-align: center;
}

/* --- THE TIMER OF THE LIGHTBOX --> */
.lightbox-timer{
  background-color: white;
}

/* --- BACKGROUND COLOR OF THE NAV OF THE LIGHTBOX --> */
.autoGrid-nav{
  background: black;
}

/* --- BACKGROUND COLOR OF THE LIGHTBOX --> */
.autoGrid-lightbox{
  background: #313131; 
  background: rgba(0,0,0,.85);
}

/* *************************************** BOX CAPTION BOTTOM *************************************** */
.box-caption-bottom{
  border-top: 1px solid #e7e7e7;
  overflow: hidden;
  padding-top: 10px;
  margin-bottom: 4px;
}

.box-caption-bottom .time{
  float: left;
  margin-top: 3px;
}

/* *************************************** SOCIAL ICONS *************************************** */
.social{
  float: right;
}

.fb-icon, .tw-icon, .gp-icon, .pi-icon{
    width: 25px;
    height: 25px;
    background: url(../img/social.png) no-repeat;
    float: left;
    margin-left: 3px;
    cursor: pointer;

    -webkit-transition: all .1s;
       -moz-transition: all .1s;
         -o-transition: all .1s;
        -ms-transition: all .1s;
            transition: all .1s;

    opacity: 0.5;

}
.fb-icon:hover, .tw-icon:hover, .gp-icon:hover, .pi-icon:hover{
    opacity: 1;
}

.fb-icon{
    background-position: 0px 0px;
}

.tw-icon{
    background-position: -30px 0px;
}

.gp-icon{
    background-position: -61px 0px;
}

.pi-icon{
    background-position: -90px 0px;
}

/* *************************************** HIDE THE BOXES WHEN THE PAGE LOAD *************************************** */

.box{
  display: none;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity:inherit;
  
  filter:inherit;
  border-radius: 2px !important;
  overflow: hidden;
  
}


/* *************************************** THE STYLE FOR THE TITLE OF THE PLUGIN *************************************** */
.site-title{
  font-size: 32px;
  font-weight: 300;
  line-height: 35px;
  background: white;
  color: #373737;
  width: 100%;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  text-align: center;
}

.site-title img{
  display: inline-block !important;
  padding: 28px 20px 24px 20px;
}

.divider{
  display: block;
  width: 100%;
  height:1px;
  background: #e7e7e7;
  margin: 16px 0 10px 0;
}

.site-title span.multi{
  font-weight: 100;
  margin-right: 2px;
}

.site-title span.media{
  background: #fb1953;
  color: white;
  padding: 0px 7px 1px 7px;
  margin-right: 2px;
}

.site-title span.boxes{
  color: #fb1953;
}

.site-title hr{
  margin-bottom: 5px;
}

.site-title div.description{
  font-size: 16px;
  line-height: 27px; 
  color: #888;
  text-shadow: 0 0px 0 rgba(0,0,0,.15);
}

/* *************************************** CATEGORY NAVIGATION BAR *************************************** */

.category-navbar{
  font-size: 0px;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 12px 0 6px 0px;
  width: 100%;
  border-bottom: 1px solid #ddd;
  background: white;
}

.category-navbar li:first-child{
  margin: 0 0 0 7px;
}

.category-navbar li{
  display: inline-block;
  line-height: 16px;
  margin: 0 0 0 -1px;
  padding: 5px 0 5px 0;

  background: url(../img/line.png) no-repeat scroll right -1px transparent;
}

.category-navbar li:last-child{
  background: none;
}

.category-navbar li a{
  cursor: pointer;
  color: #676767;
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  margin: 0 0px 0px 0;
  padding: 10px 13px;
  border-radius: 1px;
  moz-border-radius: 1px;
  -webkit-border-radius: 1px;

  -webkit-transition: background-color .1s;
     -moz-transition: background-color .1s;
       -o-transition: background-color .1s;
      -ms-transition: background-color .1s;
          transition: background-color .1s;
}

.category-navbar li a:hover{
  text-decoration: none;
  background: none;
  background-color: #444;
  color: #fff;
}

.category-navbar li.select a{
  background: none;
  background-color: #fb1953; /* fallback for IE8 */
  background-color: rgba(251,25,83, .9);
  color: #fff;
}


/* *************************************** BOX HTML *************************************** */

div.box-iframe{
  /*display: none;*/
  background: #161616;
}

iframe.box-iframe{
  border: 0;
  padding: 0;
  background: #161616;
  display:block;
}

.box-caption p{
  margin: 9px 0 7px 0;
}

.box-caption{
  display: block;
  padding: 9px;
  position: relative;
}

.box-caption:before {
  content: "";
  background: none;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid white;
  position: absolute;
  left: 10px;
  top: -9px;
  margin-left: auto;
  margin-right: auto;
  z-index: 3;
}

.box-video:hover .video-circle{
    -webkit-transform: scale(1.2);
       -moz-transform: scale(1.2);
         -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
}

.video-circle{
    -webkit-transition: all .3s;
       -moz-transition: all .3s;
         -o-transition: all .3s;
        -ms-transition: all .3s;
            transition: all .3s;


    content: "";
    border-radius: 50%;
    border:2px solid white;
    width: 30px;
    height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
}

.video-arrow{
    content: "";
    background: none;
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -8px;
    margin-left: -6px;
    z-index: 3;
}


.box-caption .box-title{
  margin-top: 10px;
  letter-spacing: 0px;
  line-height: 1.1;
  font-weight: 300;
  width: 100%;

  -webkit-transition: all .2s;
     -moz-transition: all .2s;
       -o-transition: all .2s;
      -ms-transition: all .2s;
          transition: all .2s;
}

/*.box:hover .box-title{
  color: #fb1953;
}*/



/* *************************************** CAPTION STYLE *************************************** */
.box{
  overflow: hidden;
}
.hover-lightbox, .hover-url, .hover-text, .hover-iframe{
  position: relative;
}

.hover-lightbox, .hover-url, .hover-iframe{
  
  cursor: pointer;
  display: inline-block;
  margin-top: 1px;
  line-height: 14px;
  
  width: 27px;
  height: 27px;
  background: url(../img/caption-icons.png);
  background-position: -1px -1px;

  margin: 0 6px;
}


.hover-url{
  background-position: -51px -2px;
}

.hover-iframe{
  background-position: -98px -2px; 
}

.hover-lightbox:hover, .hover-url:hover, .hover-iframe:hover{
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
  opacity: 0.8;
}

.box-image{
  position: relative;
  overflow: hidden;
}

.lightbox-text{
  display: none;
}

.thumbnail-caption{
  position: absolute;
  width: 100%;
  height: 100%;
  /*background: url(../img/bg-caption-old.png);*/
  display: none;
}

/* The style for centering the caption (vertically and horizontally) */
.thumbnail-caption>div{
  height: 100%;
  width: 100%;
  display: table !important;
}

.thumbnail-caption>div>div{
  padding: 15px;
  display: table-cell !important;
    vertical-align: middle; /* FOR VERTICAL ALIGN */
    text-align:center; /* FOR HORIZONTAL ALIGN */
}

/* *************************************** LOADING STYLE *************************************** */
.grid-loader, .grid-loadMore{
   height: 20px;
   padding: 10px 15px 10px 15px;
   margin: 20px auto;
}

.grid-loader{
  width: 43px;
  background: url(../img/loader.gif) no-repeat;
  background-position:center;
}

.grid-loadMore{
  cursor: pointer;
  width: 150px;
  text-align: center;
  color: white;
  background-color: black;
  background: rgba(0,0,0,.6);
  border-radius: 2px;
  font-size: 14px;
}

.grid-loadMore:hover{
  text-decoration: none;
  color: white;
  background: rgba(0,0,0,.8);
}
/* *************************************** LIGHT-BOX STYLE *************************************** */
.lightbox-alignment{
  height: 100%;
  width: 100%;
  display: table !important;
}

.lightbox-alignment2{
  display: table-cell !important;
  vertical-align: middle; /* FOR VERTICAL ALIGN */
  text-align:center; /* FOR HORIZONTAL ALIGN */
}

.open-lightbox-iframe{
  cursor: pointer;
}

.lightbox-timer{
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.lb-loader{
  width: 43px;
  height: 11px;
  background: url(../img/lightbox-loader.gif);
  
  margin: 20px auto;
}

.autoGrid-lightbox{
  display: none;
  position: fixed;
  top:0;
  width: 100%;
  height: 100%;
  z-index: 500;

  text-align: center;
}

.autoGrid-lightbox img{
  max-width: 100%;
  vertical-align: top
}

.autoGrid-lightbox iframe{
  max-width:  100%;
}

.autoGrid-nav{
  margin-top: -57px;
  height: 57px;
  width: 100%;

  border-bottom: 1px solid #1D1D1D;
}

.autoGrid-play, .autoGrid-close, .autoGrid-next, .autoGrid-prev, .autoGrid-font{
  width: 88px;
  height: 57px;
  position: relative;
  cursor: pointer;
}

.autoGrid-play:hover, .autoGrid-close:hover, .autoGrid-next:hover, .autoGrid-prev:hover, .autoGrid-font:hover{
  background: #1B1B1B; 

}

.selected{
  background: black;
}

.selected .iconPlay{
  background-position: -164px -3px;
}

.autoGrid-lbcaption{
  float: left;
  color: white;
  height: 57px;
  font-size: 16px;
}

.autoGrid-lbcaption span{
  margin-left: 3px;
  color: #D7D7D7;
  font-size: 11px;
}

.autoGrid-lbcaption>div{
  height: 100%;
  width: 100%;
  display: table !important;
}

.autoGrid-lbcaption>div>div{
  padding: 0 15px 0 15px;
  display: table-cell !important;
    vertical-align: middle; /* FOR VERTICAL ALIGN */
    text-align:center; /* FOR HORIZONTAL ALIGN */
}

.autoGrid-play, .autoGrid-close{
  float: right;
}

.autoGrid-next, .autoGrid-prev{
  float: right;
}

.iconPlay, .iconClose, .iconNext, .iconPrev, .iconFont{
  position: absolute;

  top: 50%;
  left: 50%;

  height: 25px;
  display: block;
} 

.iconClose{
  width: 25px;
  margin: -13px 0 0 -13px;

  background: url(../img/lightbox-icons.png);
  background-position: -2px -3px;
}

.iconPlay{
  width: 17px;
  margin: -13px 0 0 -8px;
  background: url(../img/lightbox-icons.png);

  background-position: -137px -3px;

  -webkit-transition:all .3s;
     -moz-transition:all .3s;
       -o-transition:all .3s;
      -ms-transition:all .3s;
          transition:all .3s;
}

.iconFont{
  width: 46px;
  margin: -13px 0 0 -23px;

  background: url(../img/lightbox-icons.png);
  background-position: -85px -3px;
}

.iconNext, .iconPrev{
  width: 15px;
  margin: -13px 0 0 -8px;
  background: url(../img/lightbox-icons.png);
}

  .iconPrev{
    background-position: -40px -3px;
  }

  .iconNext{
    background-position: -70px -3px;
  }


/* *************************************** GRID STYLE *************************************** */

.centered { 
    margin: auto; 
}

.box {
  line-height: 20px;
  float: left;
  -webkit-border-radius: 0px;
     -moz-border-radius: 0px;
          border-radius: 0px;
}

.box img,
#tumblelog img {
  display: block;
  width: 100%;
}

.rtl .box {
  float: right;
  text-align: right; 
  direction: rtl;
}

/**** Transitions ****/

.transitions-enabled.masonry,
.transitions-enabled.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.transitions-enabled.masonry {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.transitions-enabled.masonry  .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
      -ms-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}


/* disable transitions on container */
.transitions-enabled.infinite-scroll.masonry {
  -webkit-transition-property: none;
     -moz-transition-property: none;
      -ms-transition-property: none;
       -o-transition-property: none;
          transition-property: none;
}

/**** Clearfix ****/
.grid-clearfix:before, .grid-clearfix:after { content: ""; display: table; }
.grid-clearfix:after { clear: both; }
.grid-clearfix { zoom: 1; }


.centered{
  overflow: auto;
}



.noTransform{
  -webkit-transform: none !important;
     -moz-transform: none !important;
       -o-transform: none !important;
      -ms-transform: none !important;
          transform: none !important;
}